﻿using System.Runtime.CompilerServices;

namespace CSharpPro._1020;

public class Student
{
    private string name;
    private int age;
    private string id;

    public Student(string name, int age, string id)
    {
        this.name = name;
        this.age = age;
        this.id = id;
    }

    public string GetName()
    {
        return name;
    }

    public int GetAge()
    {
        return age;
    }

    public string GetId()
    {
        return id;
    }

    public void SetName(string name)
    {
        this.name = name;
    }

    public void SetAge(int age)
    {
        this.age = age;
    }

    public void SetId(string id)
    {
        this.id = id;
    }
}